#include "singleton.h"

template<class T>
T* Singleton<T>::Instance()
{
    if (instance == nullptr)
    {
        instance = new T();
    }
    return instance;
}
